package com.baizhi.hospital.controller;

import com.baizhi.hospital.service.HospLogService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("log")
public class HospLogController {

	@Resource
	private HospLogService hospLogService;


	@RequestMapping("/selectLog")
	public Map<String,Object> selectLog(int page,int limit,String name){
		return hospLogService.selectLog(page, limit, name);
	}
}
